﻿/**********************************************************************************
 * Description:     
 * MemberVariable:
 * Functions:       
 * Modify information:     
 * 2008-8-5     New           DuYaoHui     Create Class
 * 
 * ********************************************************************************/
using System;

using Fjaspx.Common;
namespace Fjaspx.UI.Web
{
    public partial class Administrator_top_help : System.Web.UI.UserControl
    {
        /// <summary>
        /// 头部嵌入页面    Handles the Load event of the Page control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                //SystemCms.AdminSesion();
                //上一页 地址
                string host = null;
                try
                {
                    host = Request.UrlReferrer.ToString();
                }
                catch { host = "Welcome.html"; }
                if (!host.Contains("_left.aspx")&&host!=null)
                {
                    HyperLink_host.NavigateUrl = host;
                }
                else {
                    HyperLink_host.Visible = false;
                }
            }
        }
    }
}